
.tree-menu {
  list-style: none;
  padding-left: 0;
}

.tree-node {
  margin: 8px 0;
  position: relative;
  transition: all 0.2s;
  list-style-type: none; /* 去掉小黑点 */
  padding-left: 0; /* 通常也会将左侧的内边距设置为0，移除默认的缩进 */
}

.node-content {
  display: flex;
  align-items: center;
  padding: 8px 3px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  background: #f8f9fa;
  position: relative;
  z-index: 2;
  border: 1px solid #e9ecef;
}

.node-content:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.node-content.selected {
  background: #35BDB2;
  color: white;
  border-color: #35BDB2;
  /*transform: translateX(8px);*/
}

.node-content.selected .toggle-icon {
  color: white;
}

.toggle-icon {
  width: 20px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1A1B20;
  transition: transform 0.2s;

}

.folder-icon {
  color: #ff9800;
  width: 20px;
  text-align: center;
}

.node-label {
  flex: 1;
  font-size: 13px;
  transition: all 0.2s;
  padding-left:2px;
}

.children {
  padding-left: 8px;
  border-left: 1px dashed #adb5bd;
  margin-left: 8px;
  display: none;
}

.expanded > .children {
  display: block;
}

.loading {
  color: #6c757d;
  font-size: 14px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spinner {
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-left-color: #35BDB2;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
}


/* 自定义SVG图标 */
.svg-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: middle;
}
@font-face {
  font-family: 'iconfont';
  src: url('font_folder/iconfont.ttf?t=1752029364521') format('truetype');
}
.iconfont-folder {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.iconfont-arrow {
  font-family: "iconfont" !important;
  font-size: 20px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}